<include file="Public:header" />
<div class="panel panel-default"> 
  <!-- Default panel contents -->
  <div class="panel-heading">全部文章<a class="btn btn-primary btn-xs"  href="__URL__/add?id={$id}" style="display:block; float:right;"><i class="glyphicon glyphicon-plus"></i>添加文章</a></div>
  <table class="table table-striped table-bordered table-hover">
    <thead>
      <tr>
        <th colspan="5">#书名：《{$book.book_name}》（共 {$book_count} 章）作者：{$book.author}</th>
      </tr>
    </thead>
    <tbody>
    <tr>
    <volist name="list" id="vo"  mod="5">
    	<td width="20%">
        <a href="__URL__/edit?book_id={$id}&article_id={$vo._id}">{$vo.title}</a>
        
        <a style="float:right;" class="btn btn-danger  btn-xs" href="javascript:if(confirm('是否删除？'))window.location.href='__URL__/del/?book_id={$id}&article_id={$vo._id}';">X</a> 
        </td>
    	<eq name="mod" value="4"></tr><tr></eq>
    </volist>
    </tbody>
  </table>
</div>
<link href="__PUBLIC__/static/css/page.css" rel="stylesheet" type="text/css" />
<div class="scott">{$page}</div>
<include file="Public:footer" /> 